home *** CD-ROM | disk | FTP | other *** search
-
-
-
- XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg((((3333XXXX))))
-
-
-
- NNNNAAAAMMMMEEEE
- _X_m_T_e_x_t_F_i_n_d_S_t_r_i_n_g - A Text function that finds the beginning
- position of a text string
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- #include <Xm/Xm.h>
-
- Boolean XmTextFindString (wwwwiiiiddddggggeeeetttt,,,, ssssttttaaaarrrrtttt,,,, ssssttttrrrriiiinnnngggg,,,, ddddiiiirrrreeeeccccttttiiiioooonnnn,,,, ppppoooossssiiiittttiiiioooonnnn)
- _W_i_d_g_e_t wwwwiiiiddddggggeeeetttt;
- _X_m_T_e_x_t_P_o_s_i_t_i_o_nssssttttaaaarrrrtttt;
- _c_h_a_r *ssssttttrrrriiiinnnngggg;
- _X_m_T_e_x_t_D_i_r_e_c_t_i_o_nddddiiiirrrreeeeccccttttiiiioooonnnn;
- _X_m_T_e_x_t_P_o_s_i_t_i_o_n*ppppoooossssiiiittttiiiioooonnnn;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _X_m_T_e_x_t_F_i_n_d_S_t_r_i_n_g locates the beginning position of a
- specified text string. This routine searches forward or
- backward for the first occurrence of the string starting
- from the given start position. If it finds a match, the
- function returns the position of the first character of the
- string in ppppoooossssiiiittttiiiioooonnnn.
-
- wwwwiiiiddddggggeeeetttt
- Specifies the Text widget ID.
-
- ssssttttaaaarrrrtttt
- Specifies the character position from which the search
- proceeds. This is an integer number of characters from
- the beginning of the text buffer. The first character
- position is 0.
-
- ssssttttrrrriiiinnnngggg
- Specifies the search string.
-
- ddddiiiirrrreeeeccccttttiiiioooonnnn
- Indicates the search direction. It is relative to the
- primary direction of the text. The possible values are
-
- _X_m_T_E_X_T__F_O_R_W_A_R_D
- The search proceeds toward the end of the text buffer.
-
- _X_m_T_E_X_T__B_A_C_K_W_A_R_D
- The search proceeds toward the beginning of the text
- buffer. Specifies the pointer in which the first
- character position of the string match is returned.
- This is an integer number of characters from the
- beginning of the buffer. The first character position
- is 0. If the function returns False, this value is
- undefined.
-
- For a complete definition of Text and its associated
- resources, see _X_m_T_e_x_t(_3_X).
-
-
-
- Page 1 (printed 11/11/03)
-
-
-
-
-
-
- XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttFFFFiiiinnnnddddSSSSttttrrrriiiinnnngggg((((3333XXXX))))
-
-
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- Returns True if a string match is found; otherwise, returns
- False.
-
- RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
- _X_m_T_e_x_t(_3_X) and _X_m_T_e_x_t_F_i_n_d_S_t_r_i_n_g_W_c_s(_3_X).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 11/11/03)
-
-
-
-